package com.zn.test;

/**
 * @author Li
 * @Date 2023/4/7 10:39
 */
public class CountDown {
    /**
     * 从10开始，到0结束，每次减1
     */
    public static void main(String[] args) throws InterruptedException {
        for (int i = 10; i>0;i--){
            Thread.sleep(1000);
            System.out.println(i);
        }
    }
}
